/*
 * Created on 2005-10-14
 *
 */
package com.yl.cap.analyst.work.domain;

import java.util.Date;
/**
 * @author ZhangQi
 *
 * @hibernate.class
 *  table="t_tasklog"
 *  dynamic-update="true"
 */
public class TaskLog
{
    private String id;
    private String taskName;
    private Date beginTime;
    private Date endTime;
    private String result;
    private JobLog jobLog;
    /**
     * @hibernate.many-to-one
     *  column="JOB_ID"
     *  not-null="true"
     * @return JobLog
     */
    public JobLog getJobLog()
    {
        return jobLog;
    }
    /**
     * @param jobLog The jobLog to set.
     */
    public void setJobLog(JobLog jobLog)
    {
        this.jobLog = jobLog;
    }
    /**
     * @hibernate.property
     */
    public Date getBeginTime()
    {
        return beginTime;
    }
    /**
     * @param beginTime The beginTime to set.
     */
    public void setBeginTime(Date beginTime)
    {
        this.beginTime = beginTime;
    }
    /**
     * @hibernate.property
     */
    public Date getEndTime()
    {
        return endTime;
    }
    /**
     * @param endTime The endTime to set.
     */
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }
    /**
     * @hibernate.id
     *  unsaved-value="null"
     *  generator-class="uuid.hex"
     * @return String
     */
    public String getId()
    {
        return id;
    }
    /**
     * @param id The id to set.
     */
    public void setId(String id)
    {
        this.id = id;
    }
    /**
     * @hibernate.property
     */
    public String getResult()
    {
        return result;
    }
    /**
     * @param result The result to set.
     */
    public void setResult(String result)
    {
        this.result = result;
    }
    /**
     * @hibernate.property
     */
    public String getTaskName()
    {
        return taskName;
    }
    /**
     * @param taskName The taskName to set.
     */
    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }
}
